<?php

namespace SpecialOperations\GameBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * SpecialOperations\GameBundle\Entity\ProvincePosition
 */
class ProvincePosition
{
    /**
     * @var bigint $x
     */
    private $x;

    /**
     * @var bigint $y
     */
    private $y;

    /**
     * @var bigint $id
     */
    private $id;


    /**
     * Set x
     *
     * @param bigint $x
     */
    public function setX($x)
    {
        $this->x = $x;
    }

    /**
     * Get x
     *
     * @return bigint 
     */
    public function getX()
    {
        return $this->x;
    }

    /**
     * Set y
     *
     * @param bigint $y
     */
    public function setY($y)
    {
        $this->y = $y;
    }

    /**
     * Get y
     *
     * @return bigint 
     */
    public function getY()
    {
        return $this->y;
    }

    /**
     * Get id
     *
     * @return bigint 
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * @var SpecialOperations\GameBundle\Entity\DistrictPosition
     */
    private $districtPositions;

    public function __construct()
    {
        $this->districtPositions = new \Doctrine\Common\Collections\ArrayCollection();
    }
    
    /**
     * Add districtPositions
     *
     * @param SpecialOperations\GameBundle\Entity\DistrictPosition $districtPositions
     */
    public function addDistrictPosition(\SpecialOperations\GameBundle\Entity\DistrictPosition $districtPositions)
    {
        $this->districtPositions[] = $districtPositions;
    }

    /**
     * Get districtPositions
     *
     * @return Doctrine\Common\Collections\Collection 
     */
    public function getDistrictPositions()
    {
        return $this->districtPositions;
    }
}